﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace anim3
{


public class buttonsss : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        
    }
    public void OpenPanel2()
    {
        UIManager.Instance.CloseUI("Panel1");
        UIManager.Instance.OpenUI("Panel2");
    }
    // Update is called once per frame
    void Update()
    {
        
    }
}
}